<?php
/* @var $this ImageController */
/* @var $model Image */

$this->breadcrumbs=array(
	'Images'=>array('index'),
	$model->id=>array('view','id'=>$model->id),
	'Update',
);
$this->menu=array(
	array('label'=>'Sommaire', 'url'=>array('/')),		
	array('label'=>'Retour', 'url'=>array('/image/admin')),
);
?>

<h1>Modifier Image du lieu <?php echo $model->idLocation->name; ?></h1>
<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>

<div class="location_image_detail">
<div class="preview">Actual image preview : </div>
<?php echo CHtml::image(Yii::app()->baseUrl.$model->path,'',array("style"=>"width:200px;")); ?>
</div>